using System;
using System.Collections.Generic;
using System.Text;

namespace LabMS.Model
{
    public class VoteRecordJson
    {
        private int id;
        private int voteID;
        private int userID;
        private int userType;

        public int UserType
        {
            get { return userType; }
            set { userType = value; }
        }
        private string ip;
        private List<VoteRecordDetailJson> details;

        public int ID { get { return id; } set { id = value; } }
        public int VoteID { get { return voteID; } set { voteID = value; } }
        public int UserID { get { return userID; } set { userID = value; } }
        public string IP { get { return ip; } set { ip = value; } }
        public List<VoteRecordDetailJson> Details { get { return details; } set { details = value; } }
    }

    public class VoteRecordDetailJson
    {
        private int id;
        private int itemID;
        private int answerID;

        public int ID { get { return id; } set { id = value; } }
        public int VoteItemID { get { return itemID; } set { itemID = value; } }
        public int VoteAnswerID { get { return answerID; } set { answerID = value; } }
    }
}
